package cn.springboot.osbulkparts.dao.warehouse;

import cn.springboot.osbulkparts.entity.TDeliverInfoEntity;
import cn.springboot.osbulkparts.entity.TDeliverInfoSplitEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TDeliverInfoSplitDao {
    int deleteByPrimaryKey(String id);

    int insert(TDeliverInfoSplitEntity record);

    int insertSelective(TDeliverInfoSplitEntity record);

    TDeliverInfoSplitEntity selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TDeliverInfoSplitEntity record);

    int updateByPrimaryKey(TDeliverInfoSplitEntity record);

    List<TDeliverInfoSplitEntity> selectDeliverInfoListSplit (TDeliverInfoSplitEntity record);

    /**用于添加的接口方法*/
    int insertList(List<TDeliverInfoSplitEntity> records);

    /**
     * 根据uuid 来删除
     */

    int deleteByUuid(@Param("ids") String[] ids, @Param("updateUser") String updateUser, @Param("isDelete") String isDelete);
}
